package com.ruoyi.system.service.download;

import java.util.function.Supplier;

public interface DataQuery {
    Object queryById(Long id);
    String getType();
    
    static void register(String type, Supplier<DataQuery> supplier) {
        DataQueryFactory.register(type, supplier);
    }
}